package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 学生课时数
 * @author  zzq
 * @date 2019/7/23
 */
@Data
@TableName("org_student_purchase")
@EqualsAndHashCode(callSuper = true)
public class StudentAmountEntity extends Model<StudentAmountEntity> {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键 id
	 */
	@TableId
	private String id;
	/**
	 * 机构id
	 */
	private Integer orgId;
	/**
	 * 学生id
	 */
	private String studentId;
	/**
	 * 课时数
	 */
	private Integer amount;
	/**
	 * 时长
	 */
	private String type;
	/**
	 * 级别id
	 */
	private String level;
	/**
	 * 级别名称
	 */
	private String levelName;

}
